<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<jsp:include page="/bannerServlet?method=selectAll"></jsp:include>
	<%-- 	<jsp:include page="header.jsp"></jsp:include> 
 --%>
	<section class="pro-list">
		<aside class="pro-leftsidebar">
			<ul>
				<li><a>产品搜索</a>
					<ul id="pro-search">
						<li><a><input type="text" class="pro-search"><a
								class="pro-search-btn">搜索</a></a></li>
					</ul></li> 
				<li><a href="Productclassification.jsp">产品分类</a>
					<ul id="pro-category">
						<c:forEach items="${type }" var="t">
							<li><a href="ProductServlet?typeId=${t.id }">${t.typeName }</a></li>
						</c:forEach>
					</ul></li>
			</ul>
		</aside>

		<aside class="pro-rightsidebar">
			<header>

				<p></p>
				<span>${typeName }</span>
			</header>
			<ul>
			<c:forEach items="${product }" var="p">
			<li><a href="ProductServletTwo?typeId=${p.productTypeId}">
						<div class="img-box">
							<img src="${p.picUrl }">
							<p>${p.name }</p>
						</div>
				</a></li>
			</c:forEach>
			</ul>
			<div class="pro_list_more_pages">
				<ul>
					<li><a>上一页</a></li>
					<li class="pro-list-current"><a>1</a></li>
					<li><a>2</a></li>
					<li><a>3</a></li>
					<li><a>下一页</a></li>
				</ul>
			</div>
		</aside>


	</section>
	<jsp:include page="/homeInfoServlet?method=selectAll"></jsp:include>
	<%--   <jsp:include page="footer.jsp"></jsp:include> 
 --%>
</body>
</html>